package com.atguigu.gmall.service.annotion;

import com.atguigu.gmall.service.minio.MinioAutoConfiguration;
import org.springframework.context.annotation.Import;


import java.lang.annotation.*;

@Import({MinioAutoConfiguration.class})
//1.首先导入了MinioAutoConfiguration
//2.开启了MinioProperties的属性绑定,自动和当前项目配置文件中app.minio下的所有配置进行绑定
//3/给容器注入了minioclient
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface EnableMinio {
}
